Conversation
소셜 로그인 provider(GOOGLE/KAKAO) 정보를 프론트에서 확인할 수 있도록 IdentityProvider enum과 LinkedIdentity 타입을 노출한다. 한 계정에 여러 identity 연결 가능성을 고려해 배열로 정의하고, lastLoginAt까지 포함해 "최근 로그인 provider" UI 구성도 가능하게 한다.
UserRepository.findAccountWithProfile에서 account_identities를 함께 조회(soft-deleted 제외, last_login_at desc 정렬)하도록 include를 추가하고, toMePayload에서 provider/lastLoginAt만 추려 노출한다. provider_subject나 provider_email 등 OIDC 내부 식별자는 의도적으로 노출하지 않는다.
UserProfileService.me에 4가지 케이스(빈 배열/단일/다건 정렬/soft-deleted 제외) + resolver 단에서 새 필드가 그대로 노출되는 통합 케이스 1건을 추가한다. 모두 real DB로 검증.
…t spec 추가 호출부(UserBaseService.requireActiveUser)가 항상 withDeleted:true로 호출하여 서비스 spec으로는 falsy 브랜치가 도달되지 않는다. soft-delete extension과의 상호작용 contract를 명시적으로 못박는다. codecov/patch 80% 미달(66.67%) 해소 목적도 겸한다.
…ovider feat(user): MePayload에 소셜 로그인 provider(linkedIdentities) 노출
개발 단계 인프라 비용 절감 차원에서 RDS 인스턴스를 삭제(스냅샷 보관)하고 EC2 인스턴스를 중지한 상태라 push: main 자동 배포가 매번 실패하며 Discord 알림 노이즈/실패한 S3 artifact를 양산한다. on:을 workflow_dispatch로 변경해 수동 실행만 허용하고, 인프라 복구 후 trigger 한 줄 revert로 재개할 수 있게 한다.
chore(ci): deploy 워크플로우를 수동 trigger로 전환
|
Caution Review failedPull request was closed or merged during review 📝 Walkthrough전체 개요배포 워크플로우 트리거가 수동 실행 전용으로 변경되었으며, 사용자 프로필에 연동된 소셜 로그인 제공자 및 마지막 로그인 시각을 포함하는 linkedIdentities 필드가 추가되었습니다. 변경 사항배포 워크플로우 조정
연결된 사용자 ID 기능
예상 코드 리뷰 노력🎯 3 (보통) | ⏱️ ~25분 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Coverage report
Test suite run success882 tests passing in 78 suites. Report generated by 🧪jest coverage report action from 71aa083 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
develop 누적 2건을 main으로 릴리즈한다.
provider+lastLoginAt)on: push: main→on: workflow_dispatch로 변경Notes
Test plan
Summary by CodeRabbit
릴리스 노트
새로운 기능
운영